//
//  HomeHttpClient.h
//  weiMeiPhoto
//
//  Created by hff on 15/11/25.
//  Copyright (c) 2015年 threeTi. All rights reserved.
//

#import "TTIClientManager.h"
#import "AppMacro.h"


@interface HomeHttpClient : TTIClientManager

/**
 *  单例
 *
 *  @return 单例
 */
+(HomeHttpClient *)shareInstance;



/**
 *  1 查询帮助视频分类
 *
 *  @param success 成功
 *  @param failure 失败
 */
- (void)requestHelpTypeWithSuccess:(TTIClientManagerBlock)success
                            failuer:(TTIClientManagerBlock)failure;


/**
 *  2 帮助中心列表
 *
 *  @param nextPage 页号
 *  @param pageSize 页长
 *  @param videotype 视频类型名称,默认 All
 *  @param success  成功
 *  @param failure  失败
 */
- (void)requestHelpListWithNextPage:(NSString *)nextPage
                           pageSize:(NSString *)pageSize
                          videotype:(NSString *)videotype
                         success:(TTIClientManagerBlock)success
                         failuer:(TTIClientManagerBlock)failure;


/**
 *  3 查询帮助详细信息
 *
 *  @param modelId 编号
 *  @param success 成功
 *  @param failure 失败
 */
//- (void)requestHelpDetialWithModelId:(NSString *)modelId
//                            success:(TTIClientManagerBlock)success
//                            failuer:(TTIClientManagerBlock)failure;

/**
 *  4 公告信息
 *
 *  @param nextPage 页号
 *  @param pageSize 页长
 *  @param success  成功
 *  @param failure  失败
 */
- (void)requestNoticeListWithNextPage:(NSString *)nextPage
                             pageSize:(NSString *)pageSize
                             success:(TTIClientManagerBlock)success
                             failuer:(TTIClientManagerBlock)failure;
/**
 *  5 公告详情
 *
 *  @param modelId 编号
 *  @param userId  用户ID
 *  @param success 成功
 *  @param failure 失败
 */
- (void)requestNoticeDetailWithId:(NSString *)modelId
                           userId:(NSString *)userId
                          success:(TTIClientManagerBlock)success
                          failure:(TTIClientManagerBlock)failure;

/**
 *  6 鉴权
 *
 *  @param flyerType     终端型号
 *  @param authCode 鉴权码
 *  @param success
 *  @param failure
 */
- (void)requestflyAuthenticationWithFlyerType:(NSString *)flyerType
                                     authCode:(NSString *)authCode
                                      success:(TTIClientManagerBlock)success
                                      failure:(TTIClientManagerBlock)failure;

/**
 *  7 注册鉴权码
 *
 *  @param msgNo    消息流水号
 *  @param flyerNo  飞行器编号
 *  @param provinceId  省域ID
 *  @param cityId  飞市县域ID
 *  @param makerId  制造商ID
 *  @param flyerType  终端型号
 *  @param success
 *  @param failure
 */
- (void)requestRegistflyAuthenticationWithMsgNo:(NSString *)msgNo
                                        flyerNo:(NSString *)flyerNo
                                     provinceId:(NSString *)provinceId
                                         cityId:(NSString *)cityId
                                        makerId:(NSString *)makerId
                                      flyerType:(NSString *)flyerType
                                        success:(TTIClientManagerBlock)success
                                        failure:(TTIClientManagerBlock)failure;
@end
